package com.kedacom.demo.modularity.message;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

@Service("xmppMessageGateway")
public class XMPPMessageGatewayImpl implements XMPPMessageGateway {

	protected Logger logger = LoggerFactory.getLogger(getClass());

	public XMPPMessageGatewayImpl() {
	}

	public void send(InstantMessage message) {
		Assert.notNull(message);

		logger.debug("send xmpp message {} success.", message);
	}

}
